package com.laikan.reader.core.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by Administrator on 2016/11/8.
 */
public class FocusReplyDetailBean implements Serializable {
    @SerializedName ("error_no")
    private String error_no;

    @SerializedName ("error_msg")
    private String error_msg;

    @SerializedName ("result")
    private String result;

    @SerializedName ("data")
    private FocusReplyData focusReplyData;

    public String getError_no() {
        return error_no;
    }

    public void setError_no(String error_no) {
        this.error_no = error_no;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public FocusReplyData getFocusReplyData() {
        return focusReplyData;
    }

    public void setFocusReplyData(FocusReplyData focusReplyData) {
        this.focusReplyData = focusReplyData;
    }

    public class FocusReplyData{
        @SerializedName ("reviewObj")
        private FocusReplyObjectDetail focusReplyDetailData;

        @SerializedName("replyList")
        private ArrayList<ReplyListData> replyList;

        public FocusReplyObjectDetail getFocusReplyDetailData() {
            return focusReplyDetailData;
        }

        public void setFocusReplyDetailData(FocusReplyObjectDetail focusReplyDetailData) {
            this.focusReplyDetailData = focusReplyDetailData;
        }

        public ArrayList<ReplyListData> getReplyList() {
            return replyList;
        }

        public void setReplyList(ArrayList<ReplyListData> replyList) {
            this.replyList = replyList;
        }
    }
    public class FocusReplyObjectDetail implements Serializable{

        @SerializedName("objectId")
        private int objectId;

        @SerializedName("reviewName")
        private String reviewName;

        @SerializedName("reviewPic")
        private String reviewPic;

        @SerializedName("createTime")
        private String createTime;

        @SerializedName("revContent")
        private String revContent;

        @SerializedName("isPraise")
        private boolean isPraise;

        @SerializedName("reviewPraiseNum")
        private  int reviewPraiseNum;

        public int getObjectId() {
            return objectId;
        }

        public void setObjectId(int objectId) {
            this.objectId = objectId;
        }

        public String getReviewName() {
            return reviewName;
        }

        public void setReviewName(String reviewName) {
            this.reviewName = reviewName;
        }

        public String getReviewPic() {
            return reviewPic;
        }

        public void setReviewPic(String reviewPic) {
            this.reviewPic = reviewPic;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getRevContent() {
            return revContent;
        }

        public void setRevContent(String revContent) {
            this.revContent = revContent;
        }

        public boolean isPraise() {
            return isPraise;
        }

        public void setPraise(boolean praise) {
            isPraise = praise;
        }

        public int getReviewPraiseNum() {
            return reviewPraiseNum;
        }

        public void setReviewPraiseNum(int reviewPraiseNum) {
            this.reviewPraiseNum = reviewPraiseNum;
        }

        @Override
        public String toString() {
            return "FocusReplyObjectDetail{" +
                   "objectId=" + objectId +
                   ", reviewName='" + reviewName + '\'' +
                   ", reviewPic='" + reviewPic + '\'' +
                   ", createTime='" + createTime + '\'' +
                   ", revContent='" + revContent + '\'' +
                   ", isPraise=" + isPraise +
                   ", reviewPraiseNum=" + reviewPraiseNum +
                   '}';
        }
    }

    public class ReplyListData implements Serializable{

        @SerializedName("objectId")
        private int objectId;

        @SerializedName("createTime")
        private String createTime;

        @SerializedName("replyName")
        private String replyName;

        @SerializedName("replyPic")
        private String replyPic;

        @SerializedName("repContent")
        private String repContent;

        public String getCreateTime() {
            return createTime;
        }

        public int getObjectId() {
            return objectId;
        }

        public void setObjectId(int objectId) {
            this.objectId = objectId;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getReplyName() {
            return replyName;
        }

        public void setReplyName(String replyName) {
            this.replyName = replyName;
        }

        public String getReplyPic() {
            return replyPic;
        }

        public void setReplyPic(String replyPic) {
            this.replyPic = replyPic;
        }

        public String getRepContent() {
            return repContent;
        }

        public void setRepContent(String repContent) {
            this.repContent = repContent;
        }

        @Override
        public String toString() {
            return "ReplyListData{" +
                   "objectId=" + objectId +
                   ", createTime='" + createTime + '\'' +
                   ", replyName='" + replyName + '\'' +
                   ", replyPic='" + replyPic + '\'' +
                   ", repContent='" + repContent + '\'' +
                   '}';
        }
    }
}
